/* 
 * File:   AnimationPlayer.h
 * Author: agu
 *
 * Created on 13 de junio de 2014, 18:18
 */

#ifndef ANIMATIONPLAYER_H
#define	ANIMATIONPLAYER_H

#include "client_Animation.h"
#include <string>
#include <queue>
using std::string;
using std::queue;

class AnimationPlayer : public Animation {
public:
    AnimationPlayer(SDL_Renderer* renderer, const string path, int x, int y);
    void updateMovement(SDL_Event event);
    void setQueue(queue<string> *keys);
    void updatePosition(int x, int y);
    
    virtual ~AnimationPlayer();
private:
    int vx, vy;
    queue<string> *keyNames;
};

#endif	/* ANIMATIONPLAYER_H */

